#include "syncpubltools.h"
#include "syncpublish.h"
#include <QDebug>

using namespace sync_publish_tools;

// We're not subscrived to anything, so this should never be called.
void callback::message_arrived(const std::string& topic, mqtt::message_ptr msg) {
    if(topic == "controllcommand")
    {
        std::string responce;
        m_publish->sendCommandControl(msg->to_str(), responce);

    }
}

